package com.bonjour.work.controller.api;

import com.bonjour.common.core.BaseRest;
import com.bonjour.common.core.RpcReply;
import com.bonjour.work.dto.request.JdDetailRequest;
import com.bonjour.work.dto.response.JdDetails;
import com.bonjour.work.service.JdService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.inject.Inject;

@RestController
@RequestMapping("/jobDescription")
public class JdController extends BaseRest {
    private JdService jdService;
    @Inject
    public JdController(JdService jdService){
        this.jdService = jdService;
    }

    @GetMapping("/getJobDetails")
    public RpcReply<JdDetails> getJobDetails(JdDetailRequest req){
        return RpcReply.onOk(null);
    }
}
